﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Potato.Model
{
    /// <summary>
    /// 行政区划表T_Area查询条件
    /// </summary>
    public class AreaQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 代码
        /// </summary>
        public string Code{ get;set;}
        /// <summary>
        /// 父级代码
        /// </summary>
        public string ParentCode{ get;set;}
        /// <summary>
        /// 名称
        /// </summary>
        public string Name{ get;set;}
        public string FullName { get; set; }
        /// <summary>
        /// 坐标
        /// </summary>
        public string Coord { get; set; }
    }
    public class CascaderModel//级联选择器
    {
        public string value { get; set; }
        public string label { get; set; }
        public bool loading { get; set; }
        public string FullName { get; set; }
        public string Coord { get; set; }
        public List<CascaderModel> children { get; set; }
    }
    public class CascaderTreeModel//级联选择器
    {
        public string value { get; set; }
        public string label { get; set; }
        public string FullName { get; set; }
        public string Coord { get; set; }
        public List<CascaderTreeModel> children { get; set; }
    }
}
